# -------------------------------------------------
# Project created by QtCreator 2009-11-01T17:52:31
# -------------------------------------------------
# QT -= gui
TARGET = frameSeeker
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
SOURCES += SRC/FSffmpeg.cpp \
    SRC/main.cpp \
    SRC/FSCore.cpp \
    SRC/FSCoreMethod.cpp \
    SRC/FSHist.cpp \
    SRC/FSMethodHist.cpp \
    SRC/FSFrame.cpp \
    SRC/FSMVsContext.cpp \
    SRC/FSMotionVector.cpp \
    SRC/FSXMLWriter.cpp \
    SRC/FSMethodMV.cpp
HEADERS += SRC/FSDefines.h \
    SRC/FSffmpeg.h \
    SRC/FSCore.h \
    SRC/FSCoreMethod.h \
    SRC/FSHist.h \
    SRC/FSMethodHist.h \
    SRC/FSFrame.h \
    SRC/FSMVsContext.h \
    SRC/FSMotionVector.h \
    SRC/FSXMLWriter.h \
    SRC/FSMethodMV.h
MOC_DIR = "./debug/MOC"
OBJECTS_DIR = "./debug/OBJ"
UI_DIR = "./UI"
UI_HEADERS_DIR = "./debug/UI/INC"
UI_SOURCES_DIR = "./debug/UI/SRC"
VERSION = 0.1.2
{
win32 { 
    message("Building win32 project...")
    FFMPEG_INCLUDE = "./include"
    FFMPEG_LIB = "./lib"
    LIB_EXT = ".lib"
    LIBS += $$FFMPEG_LIB/avcodec-52$$LIB_EXT \
        $$FFMPEG_LIB/avformat-52$$LIB_EXT \
        $$FFMPEG_LIB/avutil-49$$LIB_EXT \
        $$FFMPEG_LIB/swscale-0$$LIB_EXT \
        }
    unix { 
        message(Building UNIX-like project.)
        FFMPEG_INCLUDE = "./usr/include"
        FFMPEG_LIB = "/usr/lib"
        LIB_EXT = ".so"
        LIBS += $$FFMPEG_LIB/libavcodec.so \
            $$FFMPEG_LIB/libavformat.so \
            $$FFMPEG_LIB/libavutil.so \
            $$FFMPEG_LIB/libswscale.so
   }
    INCLUDEPATH += $$FFMPEG_INCLUDE/ \
        $$FFMPEG_INCLUDE/libavformat/ \
        $$FFMPEG_INCLUDE/libavcodec/
}
